<template>
    <div class="calculate" @click.stop="calculateCost">
        <img src="@/assets/newui/form/icon_wenhao.svg" alt="">
    </div>
</template>
<script setup lang="ts">
import { defineEmits } from 'vue';
const emit = defineEmits(['onClick']);

const calculateCost = () => {
    emit('onClick');
};

</script>
<style lang="less" scoped>
.calculate {
    width: 14px;
    height: 14px;
    transform: translateY(-3px);
    // display: inline-block;
    img {
        width: 14px;
        height: 14px;
    }
}
</style>